Revert "Adwaita: unified sidebar styles"
authorJakub Steiner <jimmac@gmail.com>
Fri, 20 Nov 2020 12:23:29 +0000 (13:23 +0100)
committerJakub Steiner <jimmac@gmail.com>
Fri, 20 Nov 2020 12:24:23 +0000 (13:24 +0100)
Doing the same mistake twice :( Even margin is eating from the container,
not expanding outside of it.

This reverts commit 6be575992f8e5b30dc8b8f2794e6a02941dc0031.

gtk/theme/Adwaita/_common.scss

index 8d054a466cc4c4746e446a17af24638dabacf5d5..ad054f4a17ae25bb77c96bf1472db880acd7cc40 100644 (file)
@@ -3562,10 +3562,6 @@ filechooserbutton:drop(active) {
 }
 
 stacksidebar {
-  //not a regular list
-  list.separators:not(.horizontal) > row:not(.separator) {
-    border-bottom: none;
-  }
   row {
     padding: 10px 4px;
 
@@ -3576,20 +3572,8 @@ stacksidebar {
 
     &.needs-attention > label {
       @extend %needs_attention;
-       background-size: 6px 6px, 0 0;
-    }
-    &:selected {
-      background-color: $menu_selected_color;
-      border-radius: $menu_radius;
-      color: $fg_color;
-    }
-    &:selected:hover:dir(ltr), &:selected:hover:dir(rtl) {
-      background-color: darken($menu_selected_color,5%);
-    }
-    &:focus:focus-visible {
-      outline-width: 0;
-      background-color: $selected_bg_color;
-      color: $selected_fg_color;
+
+      background-size: 6px 6px, 0 0;
     }
   }
 }
@@ -3664,7 +3648,6 @@ row image.sidebar-icon { opacity: $_placesidebar_icons_opacity; } // dim the sid
 */
 
 placessidebar {
-  &.sidebar { padding: 0; } //override default as it's nested
   row:not(:last-child) { //FIXME: specificty bump hack
     padding: 0;